package com.turtle3d.gui.fractaloptions;

import com.turtle3d.formallanguage.grammar.Grammar;
import com.turtle3d.visualizator.Visualizator;

public class GenerateFractalEvent
{
	private int iterations=1;
	private Grammar grammar;
	private Visualizator visualizator;
	
	/**
	 * This flag means that only one iteration should be calculated, 
	 * starting from the last iteration.
	 */
	private boolean nextIteration = false;

	public int getIterations()
	{
		return iterations;
	}

	public void setIterations(int iterations)
	{
		this.iterations = iterations;
	}

	public Grammar getGrammar()
	{
		return grammar;
	}

	public void setGrammar(Grammar grammar)
	{
		this.grammar = grammar;
	}

	public Visualizator getVisualizator()
	{
		return visualizator;
	}

	public void setVisualizator(Visualizator visualizator)
	{
		this.visualizator = visualizator;
	}

	public boolean isNextIteration() {
		return nextIteration;
	}

	public void setNextIteration(boolean nextIteration) {
		this.nextIteration = nextIteration;
	}

}
